package com.ruoyi.com.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ruoyi.common.core.domain.BaseDomain;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务管理-样式设置对象 com_business_style
 *
 * @author sunye
 * @date 2024-12-07
 */
@Data
public class ComBusinessStyle extends BaseDomain
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value ="style_id", type = IdType.AUTO)
    private Long styleId;

    @ApiModelProperty(value = "机构ID")
    private Long deptId;

    @ApiModelProperty(value = "小程序ID")
    private Long smallId;

    @ApiModelProperty(value = "功能编码")
    private String functionCode;

    @ApiModelProperty(value = "页面数据")
    @Excel(name = "页面数据")
    private String pageData;

    @ApiModelProperty(value = "创建人ID")
    private Long createId;

    @ApiModelProperty(value = "更新人ID")
    private Long updateId;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("styleId", getStyleId())
            .append("deptId", getDeptId())
            .append("smallId", getSmallId())
            .append("functionCode", getFunctionCode())
            .append("pageData", getPageData())
            .append("createId", getCreateId())
            .append("updateId", getUpdateId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
